<?php
require_once "config.php";
require_once "FacebookAPI.php";
session_start();

/*
 * 刪除ulikewall的session
 */ 
session_destroy(); // destroy session data in storage
session_unset(); // unset $_SESSION variable for the runtime

/*
 * 刪除FB的session
 */
$facebookAPI = new FacebookAPI();
$facebookAPI->logout();

//header("Location: ".REDIRECT_URI);
//exit;


?>